//
//  MyOderListAPI.m
//  StarOrangeStaff
//
//  Created by lshenrong on 2020/7/19.
//  Copyright © 2020 lshenrong. All rights reserved.
//

#import "MyOderListAPI.h"

@interface   MyOderListAPI()

@property (nonatomic,assign) NSInteger pageSize;
@property (nonatomic,assign) NSInteger pageNum;
@property (nonatomic,assign) NSInteger stateType;//1-待处理，2-进行中，3-已完成，全部则不传该字段

@end

@implementation MyOderListAPI

- (instancetype)initWithPageSize:(NSInteger)pageSize
                         pageNum:(NSInteger)pageNum
                       stateType:(NSInteger)stateType{
    
    if (self = [super init]) {
          [self testDataAPI];
      self.pageNum = pageNum;
      self.pageSize = pageSize;
    }
    return self;
    
}



- (NSString *)requestUrl {
    return @"message/order/queryOrderListForAPP";
}

- (void)testDataAPI {
    self.pageNum = 1;
    self.pageSize = 5;

}


- (id)requestAppendArgument{

    return @{
//            @"pageNum":@(self.pageNum),
//            @"pageSize":@(self.pageSize),
            };

}


@end
